Passer au contenu principal
GET
/
public
/
v1
/
segment-service
/
segments
/
{segment-id}
/
signed-url
[BETA] Get upload users signed url for a segment.
curl --request GET \
  --url https://api.topsort.com/public/v1/segment-service/segments/{segment-id}/signed-url \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>"
}

Autorisations

Authorization
string
header
requis

A valid API key generated in Topsort's UI.

Paramètres de chemin

segment-id
string
requis

The ID of the segment.

Paramètres de requête

action
enum<string>
défaut:add

The action to perform on the segment. Possible values are 'add', 'remove', or 'replace'. The 'replace' action will first remove all existing users from the segment before adding the new ones.

Options disponibles:
add,
remove,
replace

Réponse

Successful Response

url
string<uri>
requis

The presigned URL.

Required string length: 1 - 2083